AsyncAPI for the chat microservice. Transport: RabbitMQ (AMQP). The service subscribes to events produced by other services.
Local RabbitMQ broker
Queue with questions asked by the chat flow.
Handle incoming question events
Available only on servers:
Accepts the following message:
Question asked by the user during chat.
Additional properties are allowed.
Additional properties are allowed.
{
"question": "string",
"context": {
"keywords": [
"string"
],
"chatId": "string"
}
}
Queue with interview completed events.
Handle interview completion
Available only on servers:
Accepts the following message:
Interview flow finished with computed profile.
Additional properties are allowed.
Additional properties are allowed.
Additional properties are allowed.
{
"context": {},
"profile": {}
}
Queue with inappropriate request notifications.
Handle inappropriate requests
Available only on servers:
Accepts the following message:
The request was flagged as inappropriate.
Additional properties are allowed.
{
"reason": "string",
"chatId": "string"
}
Question asked by the user during chat.
Additional properties are allowed.
Additional properties are allowed.
Interview flow finished with computed profile.
Additional properties are allowed.
Additional properties are allowed.
Additional properties are allowed.
The request was flagged as inappropriate.
Additional properties are allowed.